package game;

import java.awt.CheckboxMenuItem;

public class Checkbox extends CheckboxMenuItem {
	private static final long serialVersionUID = 1L;
	private MenuItemGroup group;
	
	public Checkbox(String s, MenuItemGroup i){
		super(s);
		group = i;
		group.addItem(this);
	}
	
	public MenuItemGroup getGroup(){
		return group;
	}
}
